package com.example.malltest0.mbg.model;

import java.util.ArrayList;
import java.util.List;

public class PlatformExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public PlatformExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Long value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Long value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Long value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Long value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Long value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Long value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Long> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Long> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Long value1, Long value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Long value1, Long value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andNameIsNull() {
            addCriterion("name is null");
            return (Criteria) this;
        }

        public Criteria andNameIsNotNull() {
            addCriterion("name is not null");
            return (Criteria) this;
        }

        public Criteria andNameEqualTo(String value) {
            addCriterion("name =", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotEqualTo(String value) {
            addCriterion("name <>", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameGreaterThan(String value) {
            addCriterion("name >", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameGreaterThanOrEqualTo(String value) {
            addCriterion("name >=", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameLessThan(String value) {
            addCriterion("name <", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameLessThanOrEqualTo(String value) {
            addCriterion("name <=", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameLike(String value) {
            addCriterion("name like", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotLike(String value) {
            addCriterion("name not like", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameIn(List<String> values) {
            addCriterion("name in", values, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotIn(List<String> values) {
            addCriterion("name not in", values, "name");
            return (Criteria) this;
        }

        public Criteria andNameBetween(String value1, String value2) {
            addCriterion("name between", value1, value2, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotBetween(String value1, String value2) {
            addCriterion("name not between", value1, value2, "name");
            return (Criteria) this;
        }

        public Criteria andIconIsNull() {
            addCriterion("icon is null");
            return (Criteria) this;
        }

        public Criteria andIconIsNotNull() {
            addCriterion("icon is not null");
            return (Criteria) this;
        }

        public Criteria andIconEqualTo(String value) {
            addCriterion("icon =", value, "icon");
            return (Criteria) this;
        }

        public Criteria andIconNotEqualTo(String value) {
            addCriterion("icon <>", value, "icon");
            return (Criteria) this;
        }

        public Criteria andIconGreaterThan(String value) {
            addCriterion("icon >", value, "icon");
            return (Criteria) this;
        }

        public Criteria andIconGreaterThanOrEqualTo(String value) {
            addCriterion("icon >=", value, "icon");
            return (Criteria) this;
        }

        public Criteria andIconLessThan(String value) {
            addCriterion("icon <", value, "icon");
            return (Criteria) this;
        }

        public Criteria andIconLessThanOrEqualTo(String value) {
            addCriterion("icon <=", value, "icon");
            return (Criteria) this;
        }

        public Criteria andIconLike(String value) {
            addCriterion("icon like", value, "icon");
            return (Criteria) this;
        }

        public Criteria andIconNotLike(String value) {
            addCriterion("icon not like", value, "icon");
            return (Criteria) this;
        }

        public Criteria andIconIn(List<String> values) {
            addCriterion("icon in", values, "icon");
            return (Criteria) this;
        }

        public Criteria andIconNotIn(List<String> values) {
            addCriterion("icon not in", values, "icon");
            return (Criteria) this;
        }

        public Criteria andIconBetween(String value1, String value2) {
            addCriterion("icon between", value1, value2, "icon");
            return (Criteria) this;
        }

        public Criteria andIconNotBetween(String value1, String value2) {
            addCriterion("icon not between", value1, value2, "icon");
            return (Criteria) this;
        }

        public Criteria andHotlinkIsNull() {
            addCriterion("hotlink is null");
            return (Criteria) this;
        }

        public Criteria andHotlinkIsNotNull() {
            addCriterion("hotlink is not null");
            return (Criteria) this;
        }

        public Criteria andHotlinkEqualTo(String value) {
            addCriterion("hotlink =", value, "hotlink");
            return (Criteria) this;
        }

        public Criteria andHotlinkNotEqualTo(String value) {
            addCriterion("hotlink <>", value, "hotlink");
            return (Criteria) this;
        }

        public Criteria andHotlinkGreaterThan(String value) {
            addCriterion("hotlink >", value, "hotlink");
            return (Criteria) this;
        }

        public Criteria andHotlinkGreaterThanOrEqualTo(String value) {
            addCriterion("hotlink >=", value, "hotlink");
            return (Criteria) this;
        }

        public Criteria andHotlinkLessThan(String value) {
            addCriterion("hotlink <", value, "hotlink");
            return (Criteria) this;
        }

        public Criteria andHotlinkLessThanOrEqualTo(String value) {
            addCriterion("hotlink <=", value, "hotlink");
            return (Criteria) this;
        }

        public Criteria andHotlinkLike(String value) {
            addCriterion("hotlink like", value, "hotlink");
            return (Criteria) this;
        }

        public Criteria andHotlinkNotLike(String value) {
            addCriterion("hotlink not like", value, "hotlink");
            return (Criteria) this;
        }

        public Criteria andHotlinkIn(List<String> values) {
            addCriterion("hotlink in", values, "hotlink");
            return (Criteria) this;
        }

        public Criteria andHotlinkNotIn(List<String> values) {
            addCriterion("hotlink not in", values, "hotlink");
            return (Criteria) this;
        }

        public Criteria andHotlinkBetween(String value1, String value2) {
            addCriterion("hotlink between", value1, value2, "hotlink");
            return (Criteria) this;
        }

        public Criteria andHotlinkNotBetween(String value1, String value2) {
            addCriterion("hotlink not between", value1, value2, "hotlink");
            return (Criteria) this;
        }

        public Criteria andSearchlinkIsNull() {
            addCriterion("searchlink is null");
            return (Criteria) this;
        }

        public Criteria andSearchlinkIsNotNull() {
            addCriterion("searchlink is not null");
            return (Criteria) this;
        }

        public Criteria andSearchlinkEqualTo(String value) {
            addCriterion("searchlink =", value, "searchlink");
            return (Criteria) this;
        }

        public Criteria andSearchlinkNotEqualTo(String value) {
            addCriterion("searchlink <>", value, "searchlink");
            return (Criteria) this;
        }

        public Criteria andSearchlinkGreaterThan(String value) {
            addCriterion("searchlink >", value, "searchlink");
            return (Criteria) this;
        }

        public Criteria andSearchlinkGreaterThanOrEqualTo(String value) {
            addCriterion("searchlink >=", value, "searchlink");
            return (Criteria) this;
        }

        public Criteria andSearchlinkLessThan(String value) {
            addCriterion("searchlink <", value, "searchlink");
            return (Criteria) this;
        }

        public Criteria andSearchlinkLessThanOrEqualTo(String value) {
            addCriterion("searchlink <=", value, "searchlink");
            return (Criteria) this;
        }

        public Criteria andSearchlinkLike(String value) {
            addCriterion("searchlink like", value, "searchlink");
            return (Criteria) this;
        }

        public Criteria andSearchlinkNotLike(String value) {
            addCriterion("searchlink not like", value, "searchlink");
            return (Criteria) this;
        }

        public Criteria andSearchlinkIn(List<String> values) {
            addCriterion("searchlink in", values, "searchlink");
            return (Criteria) this;
        }

        public Criteria andSearchlinkNotIn(List<String> values) {
            addCriterion("searchlink not in", values, "searchlink");
            return (Criteria) this;
        }

        public Criteria andSearchlinkBetween(String value1, String value2) {
            addCriterion("searchlink between", value1, value2, "searchlink");
            return (Criteria) this;
        }

        public Criteria andSearchlinkNotBetween(String value1, String value2) {
            addCriterion("searchlink not between", value1, value2, "searchlink");
            return (Criteria) this;
        }

        public Criteria andParsehotIsNull() {
            addCriterion("parsehot is null");
            return (Criteria) this;
        }

        public Criteria andParsehotIsNotNull() {
            addCriterion("parsehot is not null");
            return (Criteria) this;
        }

        public Criteria andParsehotEqualTo(String value) {
            addCriterion("parsehot =", value, "parsehot");
            return (Criteria) this;
        }

        public Criteria andParsehotNotEqualTo(String value) {
            addCriterion("parsehot <>", value, "parsehot");
            return (Criteria) this;
        }

        public Criteria andParsehotGreaterThan(String value) {
            addCriterion("parsehot >", value, "parsehot");
            return (Criteria) this;
        }

        public Criteria andParsehotGreaterThanOrEqualTo(String value) {
            addCriterion("parsehot >=", value, "parsehot");
            return (Criteria) this;
        }

        public Criteria andParsehotLessThan(String value) {
            addCriterion("parsehot <", value, "parsehot");
            return (Criteria) this;
        }

        public Criteria andParsehotLessThanOrEqualTo(String value) {
            addCriterion("parsehot <=", value, "parsehot");
            return (Criteria) this;
        }

        public Criteria andParsehotLike(String value) {
            addCriterion("parsehot like", value, "parsehot");
            return (Criteria) this;
        }

        public Criteria andParsehotNotLike(String value) {
            addCriterion("parsehot not like", value, "parsehot");
            return (Criteria) this;
        }

        public Criteria andParsehotIn(List<String> values) {
            addCriterion("parsehot in", values, "parsehot");
            return (Criteria) this;
        }

        public Criteria andParsehotNotIn(List<String> values) {
            addCriterion("parsehot not in", values, "parsehot");
            return (Criteria) this;
        }

        public Criteria andParsehotBetween(String value1, String value2) {
            addCriterion("parsehot between", value1, value2, "parsehot");
            return (Criteria) this;
        }

        public Criteria andParsehotNotBetween(String value1, String value2) {
            addCriterion("parsehot not between", value1, value2, "parsehot");
            return (Criteria) this;
        }

        public Criteria andParsearchIsNull() {
            addCriterion("parsearch is null");
            return (Criteria) this;
        }

        public Criteria andParsearchIsNotNull() {
            addCriterion("parsearch is not null");
            return (Criteria) this;
        }

        public Criteria andParsearchEqualTo(String value) {
            addCriterion("parsearch =", value, "parsearch");
            return (Criteria) this;
        }

        public Criteria andParsearchNotEqualTo(String value) {
            addCriterion("parsearch <>", value, "parsearch");
            return (Criteria) this;
        }

        public Criteria andParsearchGreaterThan(String value) {
            addCriterion("parsearch >", value, "parsearch");
            return (Criteria) this;
        }

        public Criteria andParsearchGreaterThanOrEqualTo(String value) {
            addCriterion("parsearch >=", value, "parsearch");
            return (Criteria) this;
        }

        public Criteria andParsearchLessThan(String value) {
            addCriterion("parsearch <", value, "parsearch");
            return (Criteria) this;
        }

        public Criteria andParsearchLessThanOrEqualTo(String value) {
            addCriterion("parsearch <=", value, "parsearch");
            return (Criteria) this;
        }

        public Criteria andParsearchLike(String value) {
            addCriterion("parsearch like", value, "parsearch");
            return (Criteria) this;
        }

        public Criteria andParsearchNotLike(String value) {
            addCriterion("parsearch not like", value, "parsearch");
            return (Criteria) this;
        }

        public Criteria andParsearchIn(List<String> values) {
            addCriterion("parsearch in", values, "parsearch");
            return (Criteria) this;
        }

        public Criteria andParsearchNotIn(List<String> values) {
            addCriterion("parsearch not in", values, "parsearch");
            return (Criteria) this;
        }

        public Criteria andParsearchBetween(String value1, String value2) {
            addCriterion("parsearch between", value1, value2, "parsearch");
            return (Criteria) this;
        }

        public Criteria andParsearchNotBetween(String value1, String value2) {
            addCriterion("parsearch not between", value1, value2, "parsearch");
            return (Criteria) this;
        }

        public Criteria andParseblogIsNull() {
            addCriterion("parseblog is null");
            return (Criteria) this;
        }

        public Criteria andParseblogIsNotNull() {
            addCriterion("parseblog is not null");
            return (Criteria) this;
        }

        public Criteria andParseblogEqualTo(String value) {
            addCriterion("parseblog =", value, "parseblog");
            return (Criteria) this;
        }

        public Criteria andParseblogNotEqualTo(String value) {
            addCriterion("parseblog <>", value, "parseblog");
            return (Criteria) this;
        }

        public Criteria andParseblogGreaterThan(String value) {
            addCriterion("parseblog >", value, "parseblog");
            return (Criteria) this;
        }

        public Criteria andParseblogGreaterThanOrEqualTo(String value) {
            addCriterion("parseblog >=", value, "parseblog");
            return (Criteria) this;
        }

        public Criteria andParseblogLessThan(String value) {
            addCriterion("parseblog <", value, "parseblog");
            return (Criteria) this;
        }

        public Criteria andParseblogLessThanOrEqualTo(String value) {
            addCriterion("parseblog <=", value, "parseblog");
            return (Criteria) this;
        }

        public Criteria andParseblogLike(String value) {
            addCriterion("parseblog like", value, "parseblog");
            return (Criteria) this;
        }

        public Criteria andParseblogNotLike(String value) {
            addCriterion("parseblog not like", value, "parseblog");
            return (Criteria) this;
        }

        public Criteria andParseblogIn(List<String> values) {
            addCriterion("parseblog in", values, "parseblog");
            return (Criteria) this;
        }

        public Criteria andParseblogNotIn(List<String> values) {
            addCriterion("parseblog not in", values, "parseblog");
            return (Criteria) this;
        }

        public Criteria andParseblogBetween(String value1, String value2) {
            addCriterion("parseblog between", value1, value2, "parseblog");
            return (Criteria) this;
        }

        public Criteria andParseblogNotBetween(String value1, String value2) {
            addCriterion("parseblog not between", value1, value2, "parseblog");
            return (Criteria) this;
        }

        public Criteria andBloglinkIsNull() {
            addCriterion("bloglink is null");
            return (Criteria) this;
        }

        public Criteria andBloglinkIsNotNull() {
            addCriterion("bloglink is not null");
            return (Criteria) this;
        }

        public Criteria andBloglinkEqualTo(String value) {
            addCriterion("bloglink =", value, "bloglink");
            return (Criteria) this;
        }

        public Criteria andBloglinkNotEqualTo(String value) {
            addCriterion("bloglink <>", value, "bloglink");
            return (Criteria) this;
        }

        public Criteria andBloglinkGreaterThan(String value) {
            addCriterion("bloglink >", value, "bloglink");
            return (Criteria) this;
        }

        public Criteria andBloglinkGreaterThanOrEqualTo(String value) {
            addCriterion("bloglink >=", value, "bloglink");
            return (Criteria) this;
        }

        public Criteria andBloglinkLessThan(String value) {
            addCriterion("bloglink <", value, "bloglink");
            return (Criteria) this;
        }

        public Criteria andBloglinkLessThanOrEqualTo(String value) {
            addCriterion("bloglink <=", value, "bloglink");
            return (Criteria) this;
        }

        public Criteria andBloglinkLike(String value) {
            addCriterion("bloglink like", value, "bloglink");
            return (Criteria) this;
        }

        public Criteria andBloglinkNotLike(String value) {
            addCriterion("bloglink not like", value, "bloglink");
            return (Criteria) this;
        }

        public Criteria andBloglinkIn(List<String> values) {
            addCriterion("bloglink in", values, "bloglink");
            return (Criteria) this;
        }

        public Criteria andBloglinkNotIn(List<String> values) {
            addCriterion("bloglink not in", values, "bloglink");
            return (Criteria) this;
        }

        public Criteria andBloglinkBetween(String value1, String value2) {
            addCriterion("bloglink between", value1, value2, "bloglink");
            return (Criteria) this;
        }

        public Criteria andBloglinkNotBetween(String value1, String value2) {
            addCriterion("bloglink not between", value1, value2, "bloglink");
            return (Criteria) this;
        }

        public Criteria andBloglink0IsNull() {
            addCriterion("bloglink0 is null");
            return (Criteria) this;
        }

        public Criteria andBloglink0IsNotNull() {
            addCriterion("bloglink0 is not null");
            return (Criteria) this;
        }

        public Criteria andBloglink0EqualTo(String value) {
            addCriterion("bloglink0 =", value, "bloglink0");
            return (Criteria) this;
        }

        public Criteria andBloglink0NotEqualTo(String value) {
            addCriterion("bloglink0 <>", value, "bloglink0");
            return (Criteria) this;
        }

        public Criteria andBloglink0GreaterThan(String value) {
            addCriterion("bloglink0 >", value, "bloglink0");
            return (Criteria) this;
        }

        public Criteria andBloglink0GreaterThanOrEqualTo(String value) {
            addCriterion("bloglink0 >=", value, "bloglink0");
            return (Criteria) this;
        }

        public Criteria andBloglink0LessThan(String value) {
            addCriterion("bloglink0 <", value, "bloglink0");
            return (Criteria) this;
        }

        public Criteria andBloglink0LessThanOrEqualTo(String value) {
            addCriterion("bloglink0 <=", value, "bloglink0");
            return (Criteria) this;
        }

        public Criteria andBloglink0Like(String value) {
            addCriterion("bloglink0 like", value, "bloglink0");
            return (Criteria) this;
        }

        public Criteria andBloglink0NotLike(String value) {
            addCriterion("bloglink0 not like", value, "bloglink0");
            return (Criteria) this;
        }

        public Criteria andBloglink0In(List<String> values) {
            addCriterion("bloglink0 in", values, "bloglink0");
            return (Criteria) this;
        }

        public Criteria andBloglink0NotIn(List<String> values) {
            addCriterion("bloglink0 not in", values, "bloglink0");
            return (Criteria) this;
        }

        public Criteria andBloglink0Between(String value1, String value2) {
            addCriterion("bloglink0 between", value1, value2, "bloglink0");
            return (Criteria) this;
        }

        public Criteria andBloglink0NotBetween(String value1, String value2) {
            addCriterion("bloglink0 not between", value1, value2, "bloglink0");
            return (Criteria) this;
        }

        public Criteria andParseblog0IsNull() {
            addCriterion("parseblog0 is null");
            return (Criteria) this;
        }

        public Criteria andParseblog0IsNotNull() {
            addCriterion("parseblog0 is not null");
            return (Criteria) this;
        }

        public Criteria andParseblog0EqualTo(String value) {
            addCriterion("parseblog0 =", value, "parseblog0");
            return (Criteria) this;
        }

        public Criteria andParseblog0NotEqualTo(String value) {
            addCriterion("parseblog0 <>", value, "parseblog0");
            return (Criteria) this;
        }

        public Criteria andParseblog0GreaterThan(String value) {
            addCriterion("parseblog0 >", value, "parseblog0");
            return (Criteria) this;
        }

        public Criteria andParseblog0GreaterThanOrEqualTo(String value) {
            addCriterion("parseblog0 >=", value, "parseblog0");
            return (Criteria) this;
        }

        public Criteria andParseblog0LessThan(String value) {
            addCriterion("parseblog0 <", value, "parseblog0");
            return (Criteria) this;
        }

        public Criteria andParseblog0LessThanOrEqualTo(String value) {
            addCriterion("parseblog0 <=", value, "parseblog0");
            return (Criteria) this;
        }

        public Criteria andParseblog0Like(String value) {
            addCriterion("parseblog0 like", value, "parseblog0");
            return (Criteria) this;
        }

        public Criteria andParseblog0NotLike(String value) {
            addCriterion("parseblog0 not like", value, "parseblog0");
            return (Criteria) this;
        }

        public Criteria andParseblog0In(List<String> values) {
            addCriterion("parseblog0 in", values, "parseblog0");
            return (Criteria) this;
        }

        public Criteria andParseblog0NotIn(List<String> values) {
            addCriterion("parseblog0 not in", values, "parseblog0");
            return (Criteria) this;
        }

        public Criteria andParseblog0Between(String value1, String value2) {
            addCriterion("parseblog0 between", value1, value2, "parseblog0");
            return (Criteria) this;
        }

        public Criteria andParseblog0NotBetween(String value1, String value2) {
            addCriterion("parseblog0 not between", value1, value2, "parseblog0");
            return (Criteria) this;
        }

        public Criteria andCommentlinkIsNull() {
            addCriterion("commentlink is null");
            return (Criteria) this;
        }

        public Criteria andCommentlinkIsNotNull() {
            addCriterion("commentlink is not null");
            return (Criteria) this;
        }

        public Criteria andCommentlinkEqualTo(String value) {
            addCriterion("commentlink =", value, "commentlink");
            return (Criteria) this;
        }

        public Criteria andCommentlinkNotEqualTo(String value) {
            addCriterion("commentlink <>", value, "commentlink");
            return (Criteria) this;
        }

        public Criteria andCommentlinkGreaterThan(String value) {
            addCriterion("commentlink >", value, "commentlink");
            return (Criteria) this;
        }

        public Criteria andCommentlinkGreaterThanOrEqualTo(String value) {
            addCriterion("commentlink >=", value, "commentlink");
            return (Criteria) this;
        }

        public Criteria andCommentlinkLessThan(String value) {
            addCriterion("commentlink <", value, "commentlink");
            return (Criteria) this;
        }

        public Criteria andCommentlinkLessThanOrEqualTo(String value) {
            addCriterion("commentlink <=", value, "commentlink");
            return (Criteria) this;
        }

        public Criteria andCommentlinkLike(String value) {
            addCriterion("commentlink like", value, "commentlink");
            return (Criteria) this;
        }

        public Criteria andCommentlinkNotLike(String value) {
            addCriterion("commentlink not like", value, "commentlink");
            return (Criteria) this;
        }

        public Criteria andCommentlinkIn(List<String> values) {
            addCriterion("commentlink in", values, "commentlink");
            return (Criteria) this;
        }

        public Criteria andCommentlinkNotIn(List<String> values) {
            addCriterion("commentlink not in", values, "commentlink");
            return (Criteria) this;
        }

        public Criteria andCommentlinkBetween(String value1, String value2) {
            addCriterion("commentlink between", value1, value2, "commentlink");
            return (Criteria) this;
        }

        public Criteria andCommentlinkNotBetween(String value1, String value2) {
            addCriterion("commentlink not between", value1, value2, "commentlink");
            return (Criteria) this;
        }

        public Criteria andCommentlink0IsNull() {
            addCriterion("commentlink0 is null");
            return (Criteria) this;
        }

        public Criteria andCommentlink0IsNotNull() {
            addCriterion("commentlink0 is not null");
            return (Criteria) this;
        }

        public Criteria andCommentlink0EqualTo(String value) {
            addCriterion("commentlink0 =", value, "commentlink0");
            return (Criteria) this;
        }

        public Criteria andCommentlink0NotEqualTo(String value) {
            addCriterion("commentlink0 <>", value, "commentlink0");
            return (Criteria) this;
        }

        public Criteria andCommentlink0GreaterThan(String value) {
            addCriterion("commentlink0 >", value, "commentlink0");
            return (Criteria) this;
        }

        public Criteria andCommentlink0GreaterThanOrEqualTo(String value) {
            addCriterion("commentlink0 >=", value, "commentlink0");
            return (Criteria) this;
        }

        public Criteria andCommentlink0LessThan(String value) {
            addCriterion("commentlink0 <", value, "commentlink0");
            return (Criteria) this;
        }

        public Criteria andCommentlink0LessThanOrEqualTo(String value) {
            addCriterion("commentlink0 <=", value, "commentlink0");
            return (Criteria) this;
        }

        public Criteria andCommentlink0Like(String value) {
            addCriterion("commentlink0 like", value, "commentlink0");
            return (Criteria) this;
        }

        public Criteria andCommentlink0NotLike(String value) {
            addCriterion("commentlink0 not like", value, "commentlink0");
            return (Criteria) this;
        }

        public Criteria andCommentlink0In(List<String> values) {
            addCriterion("commentlink0 in", values, "commentlink0");
            return (Criteria) this;
        }

        public Criteria andCommentlink0NotIn(List<String> values) {
            addCriterion("commentlink0 not in", values, "commentlink0");
            return (Criteria) this;
        }

        public Criteria andCommentlink0Between(String value1, String value2) {
            addCriterion("commentlink0 between", value1, value2, "commentlink0");
            return (Criteria) this;
        }

        public Criteria andCommentlink0NotBetween(String value1, String value2) {
            addCriterion("commentlink0 not between", value1, value2, "commentlink0");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}